home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
nt
/
source.exe
/
POSIX
/
DEVSRV
/
FOR2BAK.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-06-24
|
266b
|
18 lines
#include <stdio.h>
/*
* For2bak: Converts a string's fore slashes to back slashes. MSS
*/
void for2bak(char * str)
{
char *ptr;
while (*str) {
if (ptr = strchr(str, ":"))
str = ptr+1;
if(*str == '/')
*str = '\\';
str++;
}
}